package com.test.com.test;

import com.test.Center;
import com.test.CommonDTO;
import com.test.CommonService;

/**
 * @Description:
 * @Author: LiangJiawen
 * @Create Date Time: 2021/4/28 14:06.
 * @Update Date Time: 
 * @see
 */
public class Starter {

    public static void main(String[] args) {
        CommonService commonService = Center.getProxy(CommonService.class, "127.0.0.1", 8081);
        CommonDTO param = new CommonDTO();
        param.setName("zhangsan");
        param.setAge(18);
        System.out.println(commonService.sayHi(param));
    }
}
